package com.evry.marshallingtest.oldmodel;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Order", propOrder = {
		"orderNumber", "customer", "items", "deliveryType"
})
public class Order {
	@XmlElement(name="Customer", namespace="http://www.spring3sandbox.com/model")
    private Customer customer;
	@XmlElement(name="items", namespace="http://www.spring3sandbox.com/model")
    private Products items;
	@XmlElement(namespace="http://www.spring3sandbox.com/model")
    private String orderNumber;
	@XmlElement(namespace="http://www.spring3sandbox.com/model")
    private DeliveryType deliveryType;
    
    public Customer getCustomer() {
        return customer;
    }
    
    public void setCustomer(Customer customer) {
        this.customer = customer;
    }
    
    public Products getItems() {
        return items;
    }
    
    public void setItems(Products items) {
        this.items = items;
    }
    
    public String getOrderNumber() {
        return orderNumber;
    }
    
    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }
    
    public DeliveryType getDeliveryType() {
        return deliveryType;
    }
    
    public void setDeliveryType(DeliveryType deliveryType) {
        this.deliveryType = deliveryType;
    }
    
    
}
